App({
    onLaunch: function(e) {
        var o = e.query.scene;
        "" != o && null != o && (this[(o = o.split("_"))[0]] = o[1]);
    },
    onShow: function(e) {
        "" != e.shareTicket && null != e.shareTicket && (this.shareTicket = e.shareTicket);
    },
    onHide: function() {},
    onError: function(e) {},
    util: require("we7/resource/js/util.js"),
    tabBar: {
        color: "#123",
        selectedColor: "#1ba9ba",
        borderStyle: "#1ba9ba",
        backgroundColor: "#fff",
        list: [ {
            pagePath: "/we7_wxappdemo/pages/index/index",
            iconPath: "/we7/resource/icon/home.png",
            selectedIconPath: "/we7/resource/icon/homeselect.png",
            text: "首页"
        }, {
            pagePath: "/we7_wxappdemo/pages/footer/footer",
            iconPath: "/we7/resource/icon/user.png",
            selectedIconPath: "/we7/resource/icon/userselect.png",
            text: "底部"
        }, {
            pagePath: "/we7_wxappdemo/pages/todo/todo",
            iconPath: "/we7/resource/icon/todo.png",
            selectedIconPath: "/we7/resource/icon/todoselect.png",
            text: "ToDo"
        }, {
            pagePath: "/we7_wxappdemo/pages/pay/pay",
            iconPath: "/we7/resource/icon/pay.png",
            selectedIconPath: "/we7/resource/icon/payselect.png",
            text: "支付"
        } ]
    },
  ormatDate: function (e) {
    var t = new Date(1e3 * e);
    return t.getFullYear() + "-" + o(t.getMonth() + 1, 2) + "-" + o(t.getDate(), 2) + " " + o(t.getHours(), 2) + ":" + o(t.getMinutes(), 2) + ":" + o(t.getSeconds(), 2);
    function o(e, t) {
      for (var o = "" + e, n = o.length, a = "", s = t; s-- > n;) a += "0";
      return a + o;
    }
  },
    globalData: {
        userInfo: null
    },
    mobile: -1,
    siteInfo: require("siteinfo.js")
});